import request from '@/utils/request'

export default {
  //
  assessList(data) {
    return request({
      url: '/evaluator/page',
      method: 'post',
      data
    })
  },
  //
  assessDetail(id) {
    return request({
      url: `/evaluator/info/${id}`,
      method: 'GET',
      
    })
  },
  //  查看暴露分类
  exposedList() {
    return request({
      url: '/expose/category/all',
      method: 'get',
    })
  },
    addExposed(data) {
      return request({
        url: '/expose/category/add',
        method: 'post',
        data
      })
    },
    editExposed(data) {
      return request({
        url: '/expose/category/update',
        method: 'put',
        data
      })
    },
    delExposed(data) {
      return request({
        url: `/expose/category/remove?id=${data.id}`,
        method: 'delete',
      })
    },
    exposedChildList(data) {
      return request({
        url: '/expose/info/all',
        method: 'post',
        data
      })
    },
    addChildExposed(data) {
      return request({
        url: '/expose/info/add',
        method: 'post',
        data
      })
    },
    editChildExposed(data) {
      return request({
        url: `/expose/info/update/${data.id}`,
        method: 'post',
        data
      })
    },
    delChildExposed(id) {
      return request({
        url: `/expose/info/remove/${id}`,
        method: 'post',
      })
    },
    rawList(data) {
      return request({
        url: '/ingredient_record/list',
        method: 'post',
        data
      })
    },
    cpAuditList(data) {
      return request({
        url: '/product/record/page',
        method: 'post',
        data
      })
    },
    





}
